package com.lancoo.edu.platform.operation.commons.domain.api.school;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;
import java.util.Map;

/**
 * 法定节假日实体类
 * @author lzh
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LegalHoliday implements Serializable {

    private Integer code;

    private Map<String, Day> holiday;

    @Data
    public static class Day implements Serializable{

        private boolean holiday;

        private String name;

        private int wage;

        private String date;

        private int rest;

        private boolean after;

        private String target;
    }
}
